package entity;

import java.io.Serializable;
import java.sql.Date;

public class Purchase implements Serializable{
	private String pid;
	private String did;
	private int pquantity;
	private String purchaser;
	private String pprice;
	private Date pdate;
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public String getDid() {
		return did;
	}
	public void setDid(String did) {
		this.did = did;
	}
	public int getPquantity() {
		return pquantity;
	}
	public void setPquantity(int pquantity) {
		this.pquantity = pquantity;
	}
	public String getPurchaser() {
		return purchaser;
	}
	public void setPurchaser(String purchaser) {
		this.purchaser = purchaser;
	}
	public String getPprice() {
		return pprice;
	}
	public void setPprice(String pprice) {
		this.pprice = pprice;
	}
	public Date getPdate() {
		return pdate;
	}
	public void setPdate(Date pdate) {
		this.pdate = pdate;
	}
	@Override
	public String toString() {
		return "Purchase [pid=" + pid + ", did=" + did + ", pquantity=" + pquantity + ", purchaser=" + purchaser
				+ ", pprice=" + pprice + ", pdate=" + pdate + "]";
	}
	

}
